<!DOCTYPE html>
<html lang="zh_CN" xmlns:th="http://www.thymeleaf.org"
      xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout">

<head>
    <title th:text="${pageTitle}"></title>
    <div data-th-replace="layout/head-top"></div>
</head>

<body class="gray-bg">
<div class="wrapper wrapper-content animated fadeInLeft">
    <div data-th-replace="common/functionDepict"></div>
    <div>
        <div class="row">
            <div class="pt10">
                <div class="col-sm-4">
                    <div class="ibox float-e-margins">
                        <div class="ibox-title">
                            <h5>虚拟商品详情</h5>
                        </div>
                        <div class="ibox-content clearfix p-t">
                            <div class="form-horizontal">
                                <div class="form-group">
                                    <label class="col-sm-2 control-label">名称</label>
                                    <div class="col-sm-10">
                                        <p class="form-control-static"><span th:text="${entity['name']}"></span><small class="fs12 c-999"></small></p>
                                    </div>
                                </div>
                                <div class="hr-line-dashed"></div>
                                <div class="form-group">
                                    <label class="col-sm-2 control-label">库存</label>
                                    <div class="col-sm-10">
                                        <p class="form-control-static"><span th:text="${entity['inventory']}"></span><small class="fs12 c-999"></small></p>
                                    </div>
                                </div>
                                <div class="hr-line-dashed"></div>
                                <div class="form-group">
                                    <label class="col-sm-2 control-label">发放数</label>
                                    <div class="col-sm-10">
                                        <p class="form-control-static"><span th:text="${entity['theNumber']}"></span><small class="fs12 c-999"></small></p>
                                    </div>
                                </div>
                                <div class="hr-line-dashed"></div>
                                <div class="form-group">
                                    <label class="col-sm-2 control-label">关联商品</label>
                                    <div class="col-sm-10">
                                        <p class="form-control-static"><span th:text="${entity['theNumber']}"></span><small class="fs12 c-999"></small></p>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="col-sm-8">
                <div class="ibox float-e-margins">
                    <div class="ibox-title">
                        <div class="pull-right" style="margin-top: -19px">
                            <form id="search-form" name="search-form"  class="form-inline search-form" action="">
                                <input type="hidden" name="integralVirtualGoodId" th:value="${entity['id']}"/>
                                <select class="form-control vam" name="status" >
                                    <option value="">使用状态</option>
                                    <option value="1">未使用</option>
                                    <option value="2">已使用</option>
                                </select>
                                <div class="form-group">
                                    <input placeholder="使用时间" id="beginUseTime" name="beginUseTime"
                                           class="laydate-icon form-control layer-date" type="text">
                                    -
                                    <input placeholder="使用时间" id="endUseTime" name="endUseTime"
                                           class="laydate-icon form-control layer-date" type="text">
                                </div>
                                <button type="button" id="submitCouponCode" class="btn btn-sm btn-primary vam" style="margin: 0">搜索</button>
                            </form>
                        </div>
                    </div>
                    <div class="ibox-content">
                        <div class="well">
                            <div class="row">
                                <span class="col-sm-8">总共 <small class="c-master fs14" id="totalNum" th:text="${entity['inventory']}"></small>个</span>
                            </div>
                        </div>
                    </div>
                    <div id="couponCode-list-context">

                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
</div>
</div>
<div data-th-replace="layout/head-footer"></div>
<script type="text/javascript" th:src="@{{path}/admin/libs/plugins/layer/laydate/laydate.js?v={v}(path=${staticPath},v=${v})}"></script>
<script type="text/javascript" th:src="@{{path}/admin/business/integragood/virtual_info.js?v={v}(path=${staticPath},v=${v})}"> </script>
</body>
</html>
